The history of American involvement in Latin America and Middle East and Asia is a story of making the best choice out of 2 bad options. You either get a corrupt autocrat or a murderous communist/jihadist in power. Either way you’re going to get criticism.
It is also an example of what happens when the US doesn’t get involved or listen to its left-wing base for foreign policy, that’s how you end up with communist Cuba, Venezuela, China etc, always the same story whether it was JFK or LBJ or Jimmy Carter or Bush Jr. or Obama, when you ignore (or try to appease) people with communist or theocratic origins or tendencies because you don’t like conflict (like Putin today) you get bad results.
Ukraine has been relatively stable and democratic after the Soviets fell. And I wouldn’t trust Putin to just be nice and take his troops away. After Afghanistan China, Russia and Iran smelled blood in the water. They’re not going to be nice and wait another 3 years for another President. I can see them invading Israel, Taiwan and Ukraine as soon as they get an opportunity and America’s commander in chief will sit there and put sanctions on an ever shrinking free world.